<template>
  <div>
    <ul class="alphabet-list">
      <li class="alphabet-item" v-for="(item, key) of citys" :key="key">{{key}}</li>
    </ul>
  </div>
</template>

<script>
export default {
  name: 'CityAlphabet',
  props: {
    citys: Object
  }
}
</script>

<style lang="stylus" scoped>
  @import "~styles/var.styl"
  .alphabet-list
    display flex
    flex-direction column
    justify-content center
    position absolute
    right 0
    top: 1.58rem
    bottom 0
    width .4rem
    .alphabet-item
      line-height .44rem
      text-align center
      color $bgcolor
</style>
